package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TSetmealMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTSetmeal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 套餐表 服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-15
 */
@Service
public class TSetmealServiceImpl extends ServiceImpl<TSetmealMapper, XsxTSetmeal> implements TSetmealService {
    @Autowired
    TSetmealMapper tSetmealMapper;

    @Override
    public List<XsxTSetmeal> queryAllTaoCan() {
        return tSetmealMapper.queryAllTaoCan();
    }

    @Override
    public List<XsxTSetmeal> queryTaoCanStatue() {
        return tSetmealMapper.queryTaoCanStatue();
    }

    @Override
    public int jytc(int id) {
        return tSetmealMapper.jytc(id);
    }

    @Override
    public int qytc(int id) {
        return tSetmealMapper.qytc(id);
    }

    @Override
    public int addSetmealOne(XsxTSetmeal tSetmeal) {
        return tSetmealMapper.addSetmealOne(tSetmeal);
    }

    @Override
    public int delSetmealById(int id) {
        return tSetmealMapper.delSetmealById(id);
    }


}
